import MyApp from './component/myApp'
import AppRight from './component/appRight'
import UserTable from './component/userManage'
import AppRightList from './component/appRightList'
const MenuRight = {
    allApp: <MyApp type="allApp"></MyApp>,
    // manageApp: <MyApp type="manageApp"></MyApp>,
    manageApp: <AppRightList></AppRightList>,
    joinApp: <MyApp type="joinApp"></MyApp>,
    // appAuthorze: <AppRight></AppRight>,
    user: <UserTable></UserTable>,
    // appAuthorze: <AppRightList></AppRightList>
}
function ContentRight(props) {
    return (
        <div className="right">
            {MenuRight[props.curMenu]}
        </div>
    )
}

export default ContentRight